package com.cykj.service;

import com.cykj.util.ResponseDto;

import java.util.List;

public interface UserService {
    ResponseDto deleteUser(int userId);
    ResponseDto selectAgeCount(List<Integer> ages);
    ResponseDto selectByData(int pageCurr, int pageSize,String value);
    ResponseDto login(String name,String pwd);
    ResponseDto register(String name,String pwd,String age,String sex);
    ResponseDto alterPwd(int id,String newPwd);

}
